package cn.llyong.rpc.common.enumtype;

/**
 * @description:
 * @author: lvyong
 * @date: 2020年06月22日 11:16
 */
public enum RpcResponseCode {
    CODE_404(404, "Not Found"),
    CODE_200(200, "success"),
    CODE_500(500, "system error");

    private int code;
    private String msg;

    RpcResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
